package com.iespring.mapper.admin;

import com.iespring.bean.admin.user.entity.MallSearchHistory;
import com.iespring.bean.admin.user.entity.MallSearchHistoryExample;

import java.util.List;

import com.iespring.bean.common.BasePageInfo;
import org.apache.ibatis.annotations.Param;

public interface MallSearchHistoryMapper {
    long countByExample(MallSearchHistoryExample example);

    int deleteByExample(MallSearchHistoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MallSearchHistory record);

    int insertSelective(MallSearchHistory record);

    List<MallSearchHistory> selectByExample(MallSearchHistoryExample example);

    MallSearchHistory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MallSearchHistory record, @Param("example") MallSearchHistoryExample example);

    int updateByExample(@Param("record") MallSearchHistory record, @Param("example") MallSearchHistoryExample example);

    int updateByPrimaryKeySelective(MallSearchHistory record);

    int updateByPrimaryKey(MallSearchHistory record);

    List<MallSearchHistory> selectAllHistoryLimit(BasePageInfo basePageInfo);

    List<MallSearchHistory> selectAllHistory();

    int updateSearchHistory(MallSearchHistory mallSearchHistory);

}